using System;
using System.Drawing;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;

namespace Grebok.Domain
{
    public class Category : DomainObject
    {
        public virtual int Id { get; set; }

        [NotNullValidator()]
        [StringLengthValidator(2, 15)]
        public virtual string Name { get; set; }

        public virtual string Description { get; set; }

        public virtual Bitmap Picture { get; set; }
    }
}
